<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            /* 子绝父相 */
            position: relative;
        }

        img:last-child {
            position: absolute;
            top: 20px;
            left: 198px;
        }
    </style>
</head>

<body>
    <div>
        <img src="./images/product.png" alt="">
        <img src="./images/hot.png" alt="">
    </div>
</body>

</html>